/**
 * @Description Ext.translate for ExtJS 2.x and 3.x; Auto translation with Google Translation API (java/php server side)
 * @author  Tomislav Milkovic
 * @license LGPLv3 http://www.opensource.org/licenses/lgpl-3.0.html
 * @version 1.5, 05.08.2009.
 */

/**
 *  Ext.translation initialization for Ext.app.App for Web Desktop Demo
 *  See example how to implement in included  Web Desktop Demo
 *  
 *  NOTE : TaskBar.js is updated with setText function.
 * */
Ext.override(Ext.app.App, {

	initAppTranslate : Ext.app.App.prototype.initApp,

	initApp : function(){

	Ext.translate.Manager.Init({URL : '../../TranslateServlet',
	    languageImagesURL : '../../img/flags/',
	    autocreateIonsCSS : true,
	    id : 'multiform',
	    autoload : true
	    //,cookieReset : true
	    });
	
	
	this.initAppTranslate();
}
	
});
